﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            //role ro = new role("埃洛克","小熊啊",85,40,20, "碎石打击    烈焰锚钩     战斗咆哮");
            //ro.Skill();
            //Console.WriteLine();
            //Console.WriteLine();
            //role02 ro02 = new role02("泰拉","安家费",5,10,20,"巨浪冲击     元素突击       复仇杀戮");
            //ro02.Skill();
            //Console.WriteLine();
            //Console.WriteLine();
            //role02 ro03 = new role02("卢卡斯", "弟弟", 10, 50, 80,"减速陷阱     能量浪潮        旋风剑舞");
            //ro03.Skill();
            //Console.WriteLine();
            //Console.WriteLine();
            //role02 ro04 = new role02("洛菲", "雄安", 80, 80, 90,"能量精灵     暗影传送       时空泵裂");
            //ro04.Skill();

            Student st = new Student(1,"小精灵",'女',"12454218482348","15051484531");
            Student st02 = new Student(2, "小虎", '男', "12454218482348", "15051484531");
            Student st03 = new Student(3, "小卷毛", '男', "12454218482348", "15051484531");
            Student st04 = new Student(4, "笑笑", '女', "12454218482348", "15051484531");
            st.Marjor="软件开发";
            st.Grade = "软件技术1班";
            st02.Marjor = "软件开发";
            st02.Grade = "软件技术1班";
            st03.Marjor = "软件开发";
            st03.Grade = "软件技术1班";
            st03.Marjor = "软件开发";
            st03.Grade = "软件技术1班";
            st.stu();
            st.stud();
            Console.WriteLine();
            st02.stu();
            st02.stud();
            Console.WriteLine();
            st03.stu();
            st03.stud();
            Console.WriteLine();
            st04.stu();
            st04.stud();

            Teacher te = new Teacher(1, "张老师", '男', "12454218482348", "15051484531");
            Teacher te01 = new Teacher(1, "刘老师", '女', "12454218482348", "15051484531");
            Teacher te02 = new Teacher(2, "孙老师", '男', "12454218482348", "15051484531");
            Teacher te03 = new Teacher(3, "贾老师", '男', "12454218482348", "15051484531");
            Teacher te04 = new Teacher(4, "黄老师", '女', "12454218482348", "15051484531");
            te.Title = "专业课教师";
            te.Wageno = "123456789";
            te01.Title = "体育课教师";
            te01.Wageno = "123456789";
            te02.Title = "高数课教师";
            te02.Wageno = "123456789";
            te03.Title = "英语课教师";
            te03.Wageno = "123456789";
            te.stu();
            te.stud();
            Console.WriteLine();
            te01.stu();
            te01.stud();
            Console.WriteLine();
            te02.stu();
            te02.stud();
            Console.WriteLine();
            te03.stu();
            te03.stud();
            
        }
    }
}
